package com.search.pojo;

import lombok.Data;

import java.util.List;

/**
 * @author zx
 * @date 2021/11/8 19:36
 */
@Data
public class PageResult {
    private Long total;
    private List<ItemDoc> hotels;

    public PageResult() {
    }

    public PageResult(Long total, List<ItemDoc> hotels) {
        this.total = total;
        this.hotels = hotels;
    }
}
